#pragma once

#include "../Position.h"
#include "CADCommand.h"

// CMirrorCmd command target

class CMirrorCmd : public CCADCommand
{
	DECLARE_DYNAMIC(CMirrorCmd)
public:
	CMirrorCmd();
	virtual ~CMirrorCmd();

	int GetType();
	int	OnLButtonDown(CDC* pDC, UINT nFlags, const CPosition& pos);
	int	OnMouseMove(CDC* pDC, UINT nFlags, const CPosition& pos);
	int	OnRButtonDown(CDC* pDC, UINT nFlags, const CPosition& pos);

	int	Cancel(CDC* pDC);

private:
	CPosition m_basePos;
	CPosition m_desPos;
};